package com.exam.online.system.service;

import com.exam.online.system.model.TeacherAndCourseModel;
import com.exam.online.system.util.PageModel;

import java.util.List;

/**
 * @author yuzhen
 * @date 2019/5/8
 */
public interface CourseService {

    PageModel findCourseList(Integer stuId, Integer pageNo, Integer pageSize);

    Integer addCourse(String courseName, Integer grade);

    List<TeacherAndCourseModel> findTeacherAndCourses();

}
